xenstored: return EINVAL for attempt to watch invalid path
authorIan Campbell <ian.campbell@citrix.com>
Thu, 21 Oct 2010 16:56:51 +0000 (17:56 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 21 Oct 2010 16:56:51 +0000 (17:56 +0100)
commit2eb54a2b4a65483cf8fc889c3fff77f7a5db4764
treeff774a84eaf6f46c8af0b11df97571cfadf58f77
parent0780df2a52fe136496ffc250e6dbca07b95b904c
xenstored: return EINVAL for attempt to watch invalid path

errno is essentially random at this point.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenstore/xenstored_watch.c